<?php
header("content-type:text/html;charset=utf-8");
if (@!isset($_SESSION['admin'])&& @$_SESSION['admin']==''){
    echo "<script>alert('请登录！');location.href= 'login.html'</script>";
    return;
}